using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text.RegularExpressions;

/// <summary>
/// Summary description for StringHelper
/// </summary>
public class StringHelper
{
    public StringHelper()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    public static bool IsMatch(string input, string pattern)
    {
        Regex reg = new Regex(pattern);
        return reg.IsMatch(input);
    }
}
